import { request } from '@/utils/request'

export const qualityStatistics = async (params) => {
  return request({
		url: '/report/screen-vis/quantityFluctuations',
		method: 'GET',
		params
	})
}

export const getScreenCondition = async (params) => {
  return request({
		url: '/report/screen-vis/getScreenCondition',
		method: 'GET',
		params
	})
}

export const getVehicleStatistics = async (params) => {
  return request({
		url: '/report/screen-vis/getVehicleStatistics',
		method: 'GET',
		params
	})
}

export const unloadEfficiency = async (params) => {
  return request({
		url: '/report/screen-vis/unloadEfficiency',
		method: 'GET',
		params
	})
}

export const logisticsTurnover = async (data) => {
  return request({
		url: '/report/screen-vis/logisticsTurnover',
		method: 'POST',
		data
	})
}

export const getReportRoadLossAnalysis = async (data) => {
  return request({
		url: '/report/screen-vis/getRoadLossAnalysis',
		method: 'POST',
		data
	})
}

export const getReportRoadLossScreenCondition = async (params) => {
  return request({
		url: '/report/screen-vis/getRoadLossScreenCondition',
		method: 'GET',
		params
	})
}

export const orderProcessLists = async () => {
  return request({
		url: '/report/screen-vis/getWaybillDaily',
		method: 'GET'
	})
}

export const orderAllProcessLists = async () => {
  return request({
		url: '/report/screen-vis/getWaybillOverall',
		method: 'GET'
	})
}

export const getQualityCondition = async (params) => {
  return request({
    url: '/report/screen-vis/getQualityCondition',
    method: 'GET',
    params
  })
}

export const getQualityUndulate = async (data) => {
  return request({
    url: '/report/screen-vis/getQualityUndulate',
    method: 'POST',
    data
  })
}